<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page import="com.diligreat.cache.Cache,java.util.*,com.diligreat.domain.Content,com.diligreat.domain.Lang" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<!-- <base href="${basePath}"/> -->
<link href="${basePath}css/<%=Cache.cache.getEachTitle(session.getAttribute("lang")).getStyle() %>.css" rel="stylesheet" type="text/css"/>
<link rel="shortcut icon" type="image/ico" href=""/>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript" src="javascript/body.js"></script>
<script type="text/javascript">
//window.location.href="index.htm";
</script>
<title>DILIGREAT</title>
</head>
<body>
<div class="firstLine">
	<div class="firstLineLeft">
		<div class="firstLineLeftLog"><a href="${basePath}"><img src="${basePath}/images/diligreatlog.jpg"/></a></div>
	</div>
	<div class="firstLineRight">
		<div class="firstLineRightInfo">
			<%
				Lang lang=(Lang)Cache.cache.getLang().get(session.getAttribute("lang").toString());
				List<Content> ltl=lang.getTop();
				for(int i=0;i<ltl.size();i++)
				{
					Content c=ltl.get(i);
					out.println("<div class=\"firstLineRightInfo_content\"><a href=\"info.htm?pageid="+c.getId()+"\">"+c.getTitle()+"</a></div>");
				}
			%>
			<div class="firstLineRightInfo_lang"><%@ include file="/WEB-INF/static/langchoosing.jsp" %></div>
		</div>
		<div class="firstLineRightSearch">
			<div class="firstLineRightSearch_input">
				<form action="${basePath}search.htm" method="get"><input type="text" class="searchinput" name="searchinput"/><input type="submit" value="" class="searchsubmit"/></form>
			</div>
		</div>
	</div>
</div>
<div class="secondLine">
	<div class="secondLineLeft"></div>
	<div class="secondLineRight">
		<div class="secondLineRgihtNav">
			<div class="secondLineRgihtNavDetail">
				<a href="${basePath}consulting-overview.htm"><%=Cache.cache.getEachTitle(session.getAttribute("lang")).getConsulting() %></a>
				<div class="secondLineRgihtNavDetailContent">
					<div class="secondLineRgihtNavDetailContentText">
						<div class="textarea">
							<%
								List<Content> clt=Cache.cache.getLang().get(session.getAttribute("lang").toString()).getConsultatinglist();
								out.println("<div class=\"secondLineRgihtNavDetailContentTextRow\">");
								for(int i=0;i<clt.size();i++)
								{
									if(i==30) break;
									
									Content c=clt.get(i);
									
									out.println("<div class=\"sLRNDCTRL\"><a href=\"article.htm?pageid="+c.getId()+"\">"+c.getTitle()+"</a></div>");
									
									if(i==9||i==19||i==29)
									{
										out.println("</div>");
										out.println("<div class=\"secondLineRgihtNavDetailContentTextRow\">");
									}
								}
								out.println("</div>");
							%>
						</div>
					</div>
					<div class="navshadowindex"></div>
				</div>
			</div>
			<div class="secondLineRgihtNavDetail">
				<a href="${basePath}technology-overview.htm"><%=Cache.cache.getEachTitle(session.getAttribute("lang")).getTechnology() %></a>
				<div class="secondLineRgihtNavDetailContent">
					<div class="secondLineRgihtNavDetailContentText">
						<div class="textarea">
							<%
								clt=Cache.cache.getLang().get(session.getAttribute("lang").toString()).getTechlist();
								out.println("<div class=\"secondLineRgihtNavDetailContentTextRow\">");
								for(int i=0;i<clt.size();i++)
								{
									if(i==30) break;
									
									Content c=clt.get(i);
									
									out.println("<div class=\"sLRNDCTRL\">"+c.getTitle()+"</div>");
									
									if(i==9||i==19||i==29)
									{
										out.println("</div>");
										out.println("<div class=\"secondLineRgihtNavDetailContentTextRow\">");
									}
								}
								out.println("</div>");
							%>
						</div>
					</div>
					<div class="navshadowindex"></div>
				</div>
			</div>
			<div class="secondLineRgihtNavDetail">
				<a href="${basePath}outsourcing-overview.htm"><%=Cache.cache.getEachTitle(session.getAttribute("lang")).getOutsourcing() %></a>
				<div class="secondLineRgihtNavDetailContent">
					<div class="secondLineRgihtNavDetailContentText">
						<div class="textarea">
							<%
								clt=Cache.cache.getLang().get(session.getAttribute("lang").toString()).getArrangementlist();
								out.println("<div class=\"secondLineRgihtNavDetailContentTextRow\">");
								for(int i=0;i<clt.size();i++)
								{
									if(i==30) break;
									
									Content c=clt.get(i);
									
									out.println("<div class=\"sLRNDCTRL\">"+c.getTitle()+"</div>");
									
									if(i==9||i==19||i==29)
									{
										out.println("</div>");
										out.println("<div class=\"secondLineRgihtNavDetailContentTextRow\">");
									}
								}
								out.println("</div>");
							%>
						</div>
					</div>
					<div class="navshadowindex"></div>
				</div>
			</div>
			<div class="secondLineRgihtNavDetail">
				<a href="${basePath}industries-overview.htm"><%=Cache.cache.getEachTitle(session.getAttribute("lang")).getIndustries() %></a>
				<div class="secondLineRgihtNavDetailContent">
					<div class="secondLineRgihtNavDetailContentText">
						<div class="textarea">
							<%
								clt=Cache.cache.getLang().get(session.getAttribute("lang").toString()).getIndustrylist();
								out.println("<div class=\"secondLineRgihtNavDetailContentTextRow\">");
								for(int i=0;i<clt.size();i++)
								{
									if(i==30) break;
									
									Content c=clt.get(i);
									
									out.println("<div class=\"sLRNDCTRL\">"+c.getTitle()+"</div>");
									
									if(i==9||i==19||i==29)
									{
										out.println("</div>");
										out.println("<div class=\"secondLineRgihtNavDetailContentTextRow\">");
									}
								}
								out.println("</div>");
							%>
						</div>
					</div>
					<div class="navshadowindex"></div>
				</div>
			</div>
		</div>
	</div>
</div>
<div id="beginning">
	<div class="beginningLeft">
		<div class="beginningLeftDetailConnect"><%=Cache.cache.getEachTitle(session.getAttribute("lang")).getGetintouch() %></div>
		<div class="beginningLeftDetailEmail"><a href="mailto:services@diligreat.com"><%=Cache.cache.getEachTitle(session.getAttribute("lang")).getEmailus() %></a></div>
		<div class="beginningLeftDetailMoreConnect">
			<a href="${basePath}info.htm?pageid=<%=Cache.cache.getLang().get(session.getAttribute("lang").toString()).getMorecontact().get(0).getId()%>"><%=Cache.cache.getEachTitle(session.getAttribute("lang")).getMorecontactoptions() %></a>
		</div>
	</div>
	<c:if test="${not empty session.mem}">
		<div class="beginningRight">
			<div class="beginningRightDetailTip"><a href="${basePath}member/mystuff.htm"><%=Cache.cache.getEachTitle(session.getAttribute("lang")).getHi() %> ${session.mem.firstName}.${session.mem.lastName}, <%=Cache.cache.getEachTitle(session.getAttribute("lang")).getWelcome() %></a></div>
			<div class="tipout"><a href="${basePath}member/logout.htm">登出</a></div>
		</div>
	</c:if>
	<c:if test="${empty session.mem}">
		<div class="beginningRight">
			<div class="beginningRightDetailTip"><a href="${basePath}member/registration.htm"><%=Cache.cache.getEachTitle(session.getAttribute("lang")).getGetspecial() %></a></div>
			<div class="beginningRightDetailLogin"><a href="${basePath}member/register.htm"><%=Cache.cache.getEachTitle(session.getAttribute("lang")).getNewbin() %></a></div>
		</div>
	</c:if>
</div>